package com.rose.doorto.footbathdoor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.rose.doorto.footbathdoor.pojo.QueueMessages;


/**
 * @Author 李庆超
 * @email 1481791489@qq.com
 * @Package：com.rose.doorto.footbathdoor.service
 * @Project：door-to-door
 * @name：QueueMessagesService
 * @date 2024/09/03 2024/9/3:16:48:
 */
public interface QueueMessagesService extends IService<QueueMessages> {

    /**
     * 修改消息状态
     * @param messageId
     * @param status
     * @return
     */
    int updateStatusByMessageId(String messageId,Integer status);

    /**
     * 更新消息的重发次数
     * @param messageId
     * @return
     */
    int updateCountByMessageId(String messageId);
}
